package com.mz.ozy.mvp.view;

import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.DynamicListBean;
import com.mz.ozy.bean.HomePageBean;

import org.json.JSONObject;

public interface ExpertDetailContract {

    interface View extends BaseView {
        void getExpertDetail(JSONObject jsonObject);

        void getExpertDetail(DynamicListBean jsonObject);

        void getHomePage(HomePageBean jsonObject);

        void followSportsSuccess(JSONObject jsonObject);

        void followDynamicsSuccess(JSONObject jsonObject);

        void deFriend(JSONObject jsonObject);

        void deleteDynamicsSuccess(JSONObject jsonObject);

        void commentDynamicsSuccess(JSONObject result);
    }

    interface Presenter extends BasePresenter<View> {
        void queryExpertDetail(Context context, String uid, int pageNo, int dynamic);

        void queryHomePage(Context context, String uid, int pageNo, int dynamic);

        void followSportsMan(Context context, int oid, int sType);

        void deFriend(Context context, String did);

        void followDynamics(Context context, int id, int type);

        void commentDynamics(Context context, int type, String cid, String pid, String uuid, String content);
    }
}
